package com.glodon.ggzy.entity;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfStdmanifestdetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_STDMANIFESTDETAIL")
public class GgZfStdmanifestdetail implements java.io.Serializable {

	// Fields    

	private String id;

	private String manifestid;

	private String winitemid;

	private String refgoodsid;

	private String refgoodshid;

	private String origintype;

	private String isaddedaccessory;

	private Double quantity;

	private String measureunit;

	private String priceitemid;

	private Double marketprice;

	private Double discountrate;

	private Double govprice;

	private String creator;

	private Timestamp createtime;

	private String remark;

	// Constructors

	/** default constructor */
	public GgZfStdmanifestdetail() {
	}

	/** full constructor */
	public GgZfStdmanifestdetail(String manifestid, String winitemid, String refgoodsid, String refgoodshid, String origintype,
			String isaddedaccessory, Double quantity, String measureunit, String priceitemid, Double marketprice, Double discountrate,
			Double govprice, String creator, Timestamp createtime, String remark) {
		this.manifestid = manifestid;
		this.winitemid = winitemid;
		this.refgoodsid = refgoodsid;
		this.refgoodshid = refgoodshid;
		this.origintype = origintype;
		this.isaddedaccessory = isaddedaccessory;
		this.quantity = quantity;
		this.measureunit = measureunit;
		this.priceitemid = priceitemid;
		this.marketprice = marketprice;
		this.discountrate = discountrate;
		this.govprice = govprice;
		this.creator = creator;
		this.createtime = createtime;
		this.remark = remark;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 100)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "MANIFESTID", length = 100)
	public String getManifestid() {
		return this.manifestid;
	}

	public void setManifestid(String manifestid) {
		this.manifestid = manifestid;
	}

	@Column(name = "WINITEMID", length = 100)
	public String getWinitemid() {
		return this.winitemid;
	}

	public void setWinitemid(String winitemid) {
		this.winitemid = winitemid;
	}

	@Column(name = "REFGOODSID", length = 100)
	public String getRefgoodsid() {
		return this.refgoodsid;
	}

	public void setRefgoodsid(String refgoodsid) {
		this.refgoodsid = refgoodsid;
	}

	@Column(name = "REFGOODSHID", length = 100)
	public String getRefgoodshid() {
		return this.refgoodshid;
	}

	public void setRefgoodshid(String refgoodshid) {
		this.refgoodshid = refgoodshid;
	}

	@Column(name = "ORIGINTYPE", length = 80)
	public String getOrigintype() {
		return this.origintype;
	}

	public void setOrigintype(String origintype) {
		this.origintype = origintype;
	}

	@Column(name = "ISADDEDACCESSORY", length = 80)
	public String getIsaddedaccessory() {
		return this.isaddedaccessory;
	}

	public void setIsaddedaccessory(String isaddedaccessory) {
		this.isaddedaccessory = isaddedaccessory;
	}

	@Column(name = "QUANTITY", precision = 30, scale = 10)
	public Double getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	@Column(name = "MEASUREUNIT", length = 80)
	public String getMeasureunit() {
		return this.measureunit;
	}

	public void setMeasureunit(String measureunit) {
		this.measureunit = measureunit;
	}

	@Column(name = "PRICEITEMID", length = 100)
	public String getPriceitemid() {
		return this.priceitemid;
	}

	public void setPriceitemid(String priceitemid) {
		this.priceitemid = priceitemid;
	}

	@Column(name = "MARKETPRICE", precision = 30, scale = 10)
	public Double getMarketprice() {
		return this.marketprice;
	}

	public void setMarketprice(Double marketprice) {
		this.marketprice = marketprice;
	}

	@Column(name = "DISCOUNTRATE", precision = 30, scale = 10)
	public Double getDiscountrate() {
		return this.discountrate;
	}

	public void setDiscountrate(Double discountrate) {
		this.discountrate = discountrate;
	}

	@Column(name = "GOVPRICE", precision = 30, scale = 10)
	public Double getGovprice() {
		return this.govprice;
	}

	public void setGovprice(Double govprice) {
		this.govprice = govprice;
	}

	@Column(name = "CREATOR", length = 100)
	public String getCreator() {
		return this.creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	@Column(name = "CREATETIME", length = 7)
	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	@Column(name = "REMARK", length = 500)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
